package com.monika.main.system.domain.common;

import java.util.concurrent.TimeUnit;

/**
 * @Author whh
 * @Date: 2023/04/14/ 21:08
 * @description
 */
public interface Cache{

    <K,V> void put(K key,V val);

    <K,V> void put(K key, V val, int timout, TimeUnit timeUnit);


    <K,V> V get(K key);

}
